package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 马拉圈
 * Date: 2023-08-27
 * Time: 1:35
 */
@Mapper
public interface UserMapper {
    List<UserInfo> getAll(); //获得所有用户信息

    int add(String username, String password, Integer state, Integer id);

    int add2(UserInfo userInfo);


}
